

use "C:\Users\graeme\Dropbox\Smith Richardson Russian Protests\Panel Analysis\Media Nationalism Paper\Data POP.dta"



xtset PanelResp round
** Emotions -- each IV separately works well
** Table 1

xtset PanelResp round
xtreg emot_pos_ind discuss_ind live org_empl fin_stat educ cohort famecon if both_round==1, fe
outreg2 using "C:\Users\graeme\Table", ctitle(Discussion) dec(2) word long label stats(beta tstat)replace


xtreg emot_pos_ind state_tv_cats live org_empl fin_stat educ cohort famecon if both_round==1, fe
outreg2 using "C:\Users\graeme\Table", ctitle(State TV) dec(2) word long label stats(beta tstat)append

xtreg emot_pos_ind polnews live org_empl fin_stat educ cohort famecon if both_round==1, fe
outreg2 using "C:\Users\graeme\Table", ctitle(Interest) dec(2) word long label stats(beta tstat)append



***** Table 2 See Mediation Analysis in R 


** Table 3 State Nationalism vs Emotions
xtreg putin_approval state_import live org_empl fin_stat educ cohort famecon if both_round==1, fe
outreg2 using "C:\Users\graeme\Table", ctitle(Approval) dec(2) word long label stats(beta tstat)replace

xtreg putin_approval emot_pos_ind state_import live org_empl fin_stat educ cohort famecon if both_round==1, fe
outreg2 using "C:\Users\graeme\Table", ctitle(Approval) dec(2) word long label stats(beta tstat)append

xtreg corrupt_high state_import live org_empl fin_stat educ cohort famecon if both_round==1, fe
outreg2 using "C:\Users\graeme\Table", ctitle(High Level Corrupt) dec(2) word long label stats(beta tstat)append

xtreg corrupt_high emot_pos_ind state_import live org_empl fin_stat educ cohort famecon if both_round==1, fe
outreg2 using "C:\Users\graeme\Table", ctitle(High Level Corrupt) dec(2) word long label stats(beta tstat)append

xtreg corrupt_low state_import live org_empl fin_stat educ cohort famecon if both_round==1, fe
outreg2 using "C:\Users\graeme\Table", ctitle(Low Level Corrupt) dec(2) word long label stats(beta tstat)append

xtreg corrupt_low emot_pos_ind state_import live org_empl fin_stat educ cohort famecon if both_round==1, fe
outreg2 using "C:\Users\graeme\Table", ctitle(Low Level Corrupt) dec(2) word long label stats(beta tstat)append

xtreg rusecon_fut state_import live org_empl fin_stat educ cohort famecon if both_round==1, fe
outreg2 using "C:\Users\graeme\Table", ctitle(Econ Fut) dec(2) word long label stats(beta tstat)append

xtreg rusecon_fut emot_pos_ind state_import live org_empl fin_stat educ cohort famecon if both_round==1, fe
outreg2 using "C:\Users\graeme\Table", ctitle(Econ Fut) dec(2) word long label stats(beta tstat)append

xtreg changes_fam state_import live org_empl fin_stat educ cohort famecon if both_round==1, fe
outreg2 using "C:\Users\graeme\Table", ctitle(1990s) dec(2) word long label stats(beta tstat)append

xtreg changes_fam emot_pos_ind state_import live org_empl fin_stat educ cohort famecon if both_round==1, fe
outreg2 using "C:\Users\graeme\Table", ctitle(1990s) dec(2) word long label stats(beta tstat)append


